package interfaces;

import java.util.Map;

import basic.QuerySet;
import basic.ResultSet;
import entities.TTransaction;
import views.VTransactionCard;

public interface ITransactionService {

	public Boolean exist(String primaryKey) throws Exception;
	
	public Boolean contain(Map<String,Object> paramMap) throws Exception;

	public TTransaction fetch(String primaryKey) throws Exception;
	
	public TTransaction single(Map<String,Object> paramMap) throws Exception;

	public TTransaction persist(TTransaction entityBean) throws Exception;

	public Integer remove(String primaryKey ) throws Exception;
	
	public Integer expunge(Map<String,Object> paramMap) throws Exception;
	
	public Double summary(QuerySet<Object> querySet) throws Exception;

	public Integer record(Map<String,Object> paramMap) throws Exception;

	public  ResultSet<TTransaction> search(QuerySet<Object> querySet) throws Exception;
	
	
	public Boolean possess(Map<String,Object> paramMap) throws Exception;
	
	public VTransactionCard solely(Map<String,Object> paramMap) throws Exception;
	
	public Double collect(QuerySet<Object> querySet) throws Exception;
	
	public  ResultSet<VTransactionCard> relate(QuerySet<Object> querySet) throws Exception;
	
}
